package com.financial.sys.service.register;

import com.baomidou.mybatisplus.extension.service.IService;
import com.financial.model.pojo.TUserAccount;

public interface registerAndLoginService extends IService<TUserAccount> {
    //登录验证
    TUserAccount findUsernameAndPassword(String username, String password);

    //用户注册
    int UserAdd(String username, String password);

    //检测用户名是否已经存在
    boolean checkUsername(String username);
}
